<ion-header>
  <ion-toolbar>
    <ion-buttons slot="start">
      <ion-back-button></ion-back-button>
    </ion-buttons>
    <ion-title>照相机</ion-title>

  </ion-toolbar>
</ion-header>

<ion-content>
  <ion-buttons>
    <ion-button (click)="showactionsheet()">
      拍照
    </ion-button>
    <ion-button (click)="selectunloade()">
      上传
    </ion-button>
    <ion-button (click)="download()">
      下载
    </ion-button>
  </ion-buttons>
  <div style="width:210px ">
    <ion-img *ngIf=imgdata src={{imgdata}} style="width:200px"></ion-img>
  </div>
  <p>{{infos}}</p>
</ion-content>